package net.huashitong.ssydt.provider.comment.vo;

import io.swagger.annotations.ApiModelProperty;
import net.huashitong.ssydt.provider.vo.BaseLongIdPagingVO;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.09.26
 */
public class CommentListQueryVO extends BaseLongIdPagingVO {

    private static final long serialVersionUID = -1469144638508926685L;

    @ApiModelProperty(value = "关联类型（01文章）", required = true)
    @NotBlank(message = "关联类型不能为空")
    private String relationType;//关联类型
    @ApiModelProperty(value = "关联id", required = true)
    @NotBlank(message = "关联id不能为空")
    private Long relationId;//关联id
    @ApiModelProperty(hidden = true)
    private String userId;//用户id

    public String getRelationType() {
        return relationType;
    }

    public void setRelationType(String relationType) {
        this.relationType = relationType;
    }

    public Long getRelationId() {
        return relationId;
    }

    public void setRelationId(Long relationId) {
        this.relationId = relationId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
